package com.starryx.blog.dao;

import com.starryx.blog.po.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository
public interface UserMapper {
    User findOneByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

    User findOneById(@Param("id") Long id);
}
